home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1985-10-21 | 1.5 KB | [ TEXT/EDIT]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
66%
dexvert
Compact Compressed (Unix) (archive/compact)
ext
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Mon Oct 21 11:05:40 1985, modified Mon Oct 21 11:05:40 1985, creator Macintosh Edit, type ASCII, 883 bytes "macc_testpopup.c" , at 0x3f3 388 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ EDIT]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 10 6d 61 63 63 5f 74 | 65 73 74 70 6f 70 75 70 |..macc_t|estpopup| |00000010| 2e 63 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.c......|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 45 44 49 | 54 01 00 00 00 00 00 00 |.TEXTEDI|T.......| |00000050| 00 00 00 00 00 03 73 00 | 00 01 84 99 e0 16 c4 99 |......s.|........| |00000060| e0 16 c4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 2f 37 00 00 |........|..../7..| |00000080| 23 69 6e 63 6c 75 64 65 | 20 22 71 75 69 63 6b 64 |#include| "quickd| |00000090| 72 61 77 2e 68 22 0d 23 | 69 6e 63 6c 75 64 65 20 |raw.h".#|include | |000000a0| 22 6d 65 6e 75 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |"menu.h"|.#includ| |000000b0| 65 20 22 65 76 65 6e 74 | 73 2e 68 22 0d 0d 65 78 |e "event|s.h"..ex| |000000c0| 74 65 72 6e 20 6c 6f 6e | 67 20 50 6f 70 55 70 53 |tern lon|g PopUpS| |000000d0| 65 6c 65 63 74 28 29 3b | 0d 0d 6d 61 69 6e 28 29 |elect();|..main()| |000000e0| 0d 09 7b 0d 09 4d 65 6e | 75 48 61 6e 64 6c 65 20 |..{..Men|uHandle | |000000f0| 6d 65 6e 75 3b 0d 09 45 | 76 65 6e 74 52 65 63 6f |menu;..E|ventReco| |00000100| 72 64 20 65 76 65 6e 74 | 3b 0d 09 47 72 61 66 50 |rd event|;..GrafP| |00000110| 74 72 20 70 6f 72 74 3b | 0d 09 52 65 63 74 20 62 |tr port;|..Rect b| |00000120| 6f 78 3b 0d 0d 09 2f 2a | 20 69 6e 69 74 69 61 6c |ox;.../*| initial| |00000130| 69 7a 65 20 74 68 65 20 | 6d 61 6e 61 67 65 72 73 |ize the |managers| |00000140| 20 2a 2f 0d 09 2f 2a 20 | 49 6e 69 74 47 72 61 66 | */../* |InitGraf| |00000150| 28 26 74 68 65 50 6f 72 | 74 29 3b 20 2a 2f 0d 09 |(&thePor|t); */..| |00000160| 2f 2a 20 49 6e 69 74 46 | 6f 6e 74 73 28 29 3b 20 |/* InitF|onts(); | |00000170| 2a 2f 0d 09 2f 2a 20 49 | 6e 69 74 57 69 6e 64 6f |*/../* I|nitWindo| |00000180| 77 73 28 29 3b 20 2a 2f | 0d 09 49 6e 69 74 4d 65 |ws(); */|..InitMe| |00000190| 6e 75 73 28 29 3b 0d 09 | 54 45 49 6e 69 74 28 29 |nus();..|TEInit()| |000001a0| 3b 0d 09 49 6e 69 74 44 | 69 61 6c 6f 67 73 28 30 |;..InitD|ialogs(0| |000001b0| 4c 29 3b 0d 09 49 6e 69 | 74 43 75 72 73 6f 72 28 |L);..Ini|tCursor(| |000001c0| 29 3b 0d 0d 09 2f 2a 20 | 64 72 61 77 20 74 68 65 |);.../* |draw the| |000001d0| 20 69 63 6f 6e 20 2a 2f | 0d 09 47 65 74 57 4d 67 | icon */|..GetWMg| |000001e0| 72 50 6f 72 74 28 26 70 | 6f 72 74 29 3b 0d 09 53 |rPort(&p|ort);..S| |000001f0| 65 74 50 6f 72 74 28 70 | 6f 72 74 29 3b 0d 09 43 |etPort(p|ort);..C| |00000200| 6c 69 70 52 65 63 74 28 | 26 70 6f 72 74 2d 3e 70 |lipRect(|&port->p| |00000210| 6f 72 74 52 65 63 74 29 | 3b 0d 09 53 65 74 52 65 |ortRect)|;..SetRe| |00000220| 63 74 28 26 62 6f 78 2c | 20 33 32 2c 20 33 32 2c |ct(&box,| 32, 32,| |00000230| 20 36 34 2c 20 36 34 29 | 3b 0d 09 50 6c 6f 74 49 | 64, 64)|;..PlotI| |00000240| 63 6f 6e 28 26 62 6f 78 | 2c 20 47 65 74 49 63 6f |con(&box|, GetIco| |00000250| 6e 28 30 29 29 3b 0d 0d | 09 2f 2a 20 69 6e 69 74 |n(0));..|./* init| |00000260| 69 61 6c 69 7a 65 20 74 | 68 65 20 70 6f 70 75 70 |ialize t|he popup| |00000270| 20 6d 65 6e 75 20 2a 2f | 0d 09 6d 65 6e 75 20 3d | menu */|..menu =| |00000280| 20 4e 65 77 4d 65 6e 75 | 28 31 2c 20 22 22 29 3b | NewMenu|(1, "");| |00000290| 0d 09 41 70 70 65 6e 64 | 4d 65 6e 75 28 6d 65 6e |..Append|Menu(men| |000002a0| 75 2c 20 22 5c 70 42 65 | 65 70 3b 28 2d 3b 51 75 |u, "\pBe|ep;(-;Qu| |000002b0| 69 74 22 29 3b 0d 0d 09 | 2f 2a 20 68 61 6e 64 6c |it");...|/* handl| |000002c0| 65 20 6d 6f 75 73 65 20 | 64 6f 77 6e 20 65 76 65 |e mouse |down eve| |000002d0| 6e 74 73 20 2a 2f 0d 09 | 77 68 69 6c 65 20 28 31 |nts */..|while (1| |000002e0| 29 0d 09 09 7b 0d 09 09 | 47 65 74 4e 65 78 74 45 |)...{...|GetNextE| |000002f0| 76 65 6e 74 28 65 76 65 | 72 79 45 76 65 6e 74 2c |vent(eve|ryEvent,| |00000300| 20 26 65 76 65 6e 74 29 | 3b 0d 09 09 69 66 20 28 | &event)|;...if (| |00000310| 65 76 65 6e 74 2e 77 68 | 61 74 20 3d 3d 20 6d 6f |event.wh|at == mo| |00000320| 75 73 65 44 6f 77 6e 29 | 0d 09 09 09 69 66 20 28 |useDown)|....if (| |00000330| 50 74 49 6e 52 65 63 74 | 28 26 65 76 65 6e 74 2e |PtInRect|(&event.| |00000340| 77 68 65 72 65 2c 20 26 | 62 6f 78 29 29 0d 09 09 |where, &|box))...| |00000350| 09 09 73 77 69 74 63 68 | 20 28 4c 6f 57 6f 72 64 |..switch| (LoWord| |00000360| 28 50 6f 70 55 70 53 65 | 6c 65 63 74 28 6d 65 6e |(PopUpSe|lect(men| |00000370| 75 2c 20 26 65 76 65 6e | 74 2e 77 68 65 72 65 29 |u, &even|t.where)| |00000380| 29 29 0d 09 09 09 09 09 | 7b 0d 09 09 09 09 09 63 |))......|{......c| |00000390| 61 73 65 20 31 3a 0d 09 | 09 09 09 09 09 53 79 73 |ase 1:..|.....Sys| |000003a0| 42 65 65 70 28 34 29 3b | 0d 09 09 09 09 09 09 62 |Beep(4);|.......b| |000003b0| 72 65 61 6b 3b 0d 09 09 | 09 09 09 63 61 73 65 20 |reak;...|...case | |000003c0| 33 3a 0d 09 09 09 09 09 | 09 45 78 69 74 54 6f 53 |3:......|.ExitToS| |000003d0| 68 65 6c 6c 28 29 3b 0d | 09 09 09 09 09 09 62 72 |hell();.|......br| |000003e0| 65 61 6b 3b 0d 09 09 09 | 09 09 7d 0d 09 09 7d 0d |eak;....|..}...}.| |000003f0| 09 7d 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........| |00000400| 00 00 01 00 00 00 01 1e | 00 00 00 1e 00 00 00 66 |........|.......f| |00000410| 04 70 75 74 50 69 63 50 | 72 6f 63 00 a9 a8 a9 bb |.putPicP|roc.....| |00000420| fd bb 16 14 04 5f 5f 51 | 00 5a 04 51 44 50 72 6f |.....__Q|.Z.QDPro| |00000430| 10 6d 61 63 63 5f 74 65 | 73 74 70 6f 70 75 70 2e |.macc_te|stpopup.| |00000440| 63 6f 02 00 00 00 54 45 | 58 54 45 44 49 54 01 00 |co....TE|XTEDIT..| |00000450| 00 00 54 45 58 54 45 44 | 49 54 01 00 00 12 00 43 |..TEXTED|IT.....C| |00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000470| 00 00 99 b4 71 ba 00 00 | 03 73 00 00 01 84 bb 04 |....q...|.s......| |00000480| 52 67 6e 48 61 6e 64 6c | 65 00 04 63 6c 69 70 52 |RgnHandl|e..clipR| |00000490| 67 6e 00 bb 14 04 5f 5f | 50 00 04 62 6b 50 61 74 |gn....__|P..bkPat| |000004a0| 00 bb 14 04 5f 5f 50 00 | 04 66 69 6c 6c 50 61 74 |....__P.|.fillPat| |000004b0| 00 bb 04 50 6f 69 6e 74 | 00 04 70 6e 4c 6f 63 00 |...Point|..pnLoc.| |000004c0| bb 04 50 6f 69 6e 74 00 | 04 70 6e 53 69 7a 65 00 |..Point.|.pnSize.| |000004d0| bb 0a 04 70 6e 4d 6f 64 | 65 00 bb 14 04 5f 5f 50 |...pnMod|e....__P| |000004e0| 00 04 70 6e 50 61 74 00 | bb 0a 04 70 6e 56 69 73 |..pnPat.|...pnVis| |000004f0| 00 bb 0a 04 74 78 46 6f | 6e 74 00 bb 0a 04 74 78 |....txFo|nt....tx| |00000500| 00 00 00 0a 00 09 06 4d | 6f 6e 61 63 6f a8 00 00 |.......M|onaco...| |00000510| 00 04 00 06 00 08 00 00 | 00 04 02 09 04 01 00 00 |........|........| |00000520| 01 00 00 00 01 1e 00 00 | 00 1e 00 00 00 66 00 00 |........|.....f..| |00000530| cc 1c 01 7a 00 00 00 1c | 00 5a 00 02 45 46 4e 54 |...z....|.Z..EFNT| |00000540| 00 00 00 1a 45 54 41 42 | 00 00 00 26 45 4f 50 54 |....ETAB|...&EOPT| |00000550| 00 00 00 32 03 eb ff ff | 00 00 00 00 00 00 00 00 |...2....|........| |00000560| 03 ec ff ff 00 00 00 0e | 00 00 00 00 03 ee 00 00 |........|........| |00000570| 00 00 00 16 00 01 33 78 | 0b 65 64 69 74 6f 72 20 |......3x|.editor | |00000580| 69 6e 66 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |info....|........| |00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+